import Mock, { Random } from 'mockjs'


// import { config } from 'vue/types/umd';
// get请求从config.url获取参数，post从config.body中获取参数
function param2Obj(url) {
    const search = url.split('?')[1]
    console.log('search:', search)
    if (!search) {
        return {}
    }
    return JSON.parse(
        '{"' +
        decodeURIComponent(search)
            .replace(/"/g, '\\"')
            .replace(/&/g, '","')
            .replace(/=/g, '":"') +
        '"}'
    )
}
function parampost(url) {
    return JSON.parse(
        '{"' +
        decodeURIComponent(url)
            .replace(/"/g, '\\"')
            .replace(/&/g, '","')
            .replace(/=/g, '":"') +
        '"}'
    )
}


function resourcePool() {
    var s = ['已关机', '运行中']
    var datas = []

    for (var i = 0; i < 30; i++) {
        var data = Mock.mock({
            "name": "h3c-test" + Mock.Random.integer(0, 999),
            "ip": "@ip",
            "state": s[Mock.Random.integer(0, 1)],
            "platform": '平台',
            "type": "物理主机",
            "project": "项目",
            "owngroup": Mock.Random.integer(0, 100) + "分组"
        })
        datas.push(data)
    }


    return datas
}
function serverReport() {
    var s = ['已关机', '运行中']
    var datas = []

    for (var i = 0; i < 30; i++) {
        var data = Mock.mock({
            "name": Mock.mock('@word(5)'),
            "ip": "@ip",
            "status": s[Mock.Random.integer(0, 1)],
            "platform": "H3C",
            "hostType": "物理主机",
            "cpuUsage": Mock.Random.integer(0, 100) + "%",
            "memoryUsage": Mock.Random.integer(0, 100) + "%",
            "diskUsage": Mock.Random.integer(0, 100) + "%"
        })
        datas.push(data)
    }
    return datas
}

function JKaltermsg() {
    var s = ['已关机', '运行中']
    var datas = []

    for (var i = 0; i < 30; i++) {
        var data = Mock.mock({
            "name": Mock.mock('@word(5)'),
            "ip": "@ip",
            "status": s[Mock.Random.integer(0, 1)],
            "platform": "H3C",
            "hostType": "physical server",
            "taskType": "vulnerability scan",
            "occTime": Mock.mock('@now'),
            "issueCount": Mock.Random.integer(0, 30)
        })
        datas.push(data)
    }
    return datas
}
function JKequipmentReport() {
    var s = ['已关机', '运行中']
    var datas = []

    for (var i = 0; i < 30; i++) {
        var data = Mock.mock({
            "deviceName": "交换机-" + Mock.Random.integer(0, 100),
            "bandwidth": Mock.Random.integer(0, 10000) + "Mbps",
            "throughput": Mock.Random.integer(0, 10000) + "bps",
            "packetLossRate": Mock.Random.integer(0, 100) + "%",
            "bandwidthUtilization": Mock.Random.integer(0, 100) + "%",
            "deviceStatus": s[Mock.Random.integer(0, 1)],
        })
        datas.push(data)
    }
    return datas
}

function JKinterfaceReport() {
    var s = ['异常', '正常']
    var datas = []

    for (var i = 0; i < 30; i++) {
        var data = Mock.mock({
            "deviceName": "交换机-" + Mock.Random.integer(0, 100),
            "bandwidth": Mock.Random.integer(0, 10000) + "Mbps",
            "throughput": Mock.Random.integer(0, 10000) + "bps",
            "packetLossRate": Mock.Random.integer(0, 100) + "%",
            "bandwidthUtilization": Mock.Random.integer(0, 100) + "%",
            "deviceStatus": s[Mock.Random.integer(0, 1)],

            "interfaceId": "h3c-" + Mock.Random.integer(0, 100),
            "category": 0,
            "communicationRate": "1000Mbps",
            "ipAddress": "@ip",
            "interfaceName": "test-" + Mock.Random.integer(0, 100),
            "abnormal": s[Mock.Random.integer(0, 1)]
        })
        datas.push(data)
    }
    return datas
}

function NYaltermsg() {
    var s = ['重大风险', '一般风险']
    var datas = []

    for (var i = 0; i < 40; i++) {
        var data = Mock.mock({
            "alterAddress": Mock.mock('@county(true)'),
            "type": "电压报警",
            "level": s[Mock.Random.integer(0, 1)]
        })
        datas.push(data)
    }
    return datas
}


function AFaltermsg() {
    var s = ['电流异常', '过载', '温度告警']
    var datas = []

    for (var i = 0; i < 40; i++) {
        var data = Mock.mock({
            "occTime": Mock.mock('@datetime'),
            "device": Mock.mock('@word(10)'),
            "content": s[Mock.Random.integer(0, 2)]
        })
        datas.push(data)
    }
    return datas
}













export default {


    getHomePage: config => {
        return {
            success: true,
            result: {
                numeral: Mock.mock({
                    dataCenter: Mock.Random.integer(100, 999),
                    mainframe: Mock.Random.integer(100, 999),
                    cpu: Mock.Random.integer(100, 999),
                    ram: Mock.Random.integer(100, 999),
                    influx: Mock.Random.integer(100, 999),
                    outflow: Mock.Random.integer(100, 999),
                    responsetime: Mock.Random.float(0.1, 2, 2, 5),
                }),
                loadline: [
                    {
                        "name": "12:09",
                        "value": Mock.Random.integer(0, 100),
                    }, {
                        "name": "11:26",
                        "value": Mock.Random.integer(0, 100),
                    }, {
                        "name": "21:10",
                        "value": Mock.Random.integer(0, 100),
                    }, {
                        "name": "14:59",
                        "value": Mock.Random.integer(0, 100),
                    }, {
                        "name": "12:39",
                        "value": Mock.Random.integer(0, 100),
                    }, {
                        "name": "01:47",
                        "value": Mock.Random.integer(0, 100),
                    }, {
                        "name": "15:28",
                        "value": Mock.Random.integer(0, 100),
                    }, {
                        "name": "03:44",
                        "value": Mock.Random.integer(0, 100),
                    }
                ],
                "usageline": [{
                    "name": "09:24",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "00:42",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "17:23",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "17:05",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "10:15",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "15:18",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "22:58",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "14:07",
                    "value": Mock.Random.integer(0, 100),
                }],
                "connectline": [{
                    "name": "03:46",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "16:15",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "00:40",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "19:11",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "05:00",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "00:33",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "18:50",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "13:35",
                    "value": Mock.Random.integer(0, 100),
                }],
                "health": {
                    "min": 0,
                    "max": 100,
                    "splitnumber": 10,
                    "value": Mock.Random.integer(50, 100),
                },
                "usagepie1": [{
                    "name": "name",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "name",
                    "value": Mock.Random.integer(0, 100),
                }],
                "usagepie2": [{
                    "name": "name",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "name",
                    "value": Mock.Random.integer(0, 100),
                }],
                "usagepie3": [{
                    "name": "name",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "name",
                    "value": Mock.Random.integer(0, 100),
                }],
                "usagepie4": [{
                    "name": "name",
                    "value": Mock.Random.integer(0, 100),
                }, {
                    "name": "name",
                    "value": Mock.Random.integer(0, 100),
                }],
                "storageBar": {
                    "name": "H3C-001",
                    "value": Mock.Random.integer(0, 100),
                    "usageRate": Mock.Random.integer(0, 100) + ""
                },
                "volumebar": [{
                    "name": "2010",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "2011",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "2012",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "2013",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "2014",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "2015",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }],
                "statepie": [{
                    "name": "1200",
                    "value": Mock.Random.integer(0, 100)
                }, {
                    "name": "358",
                    "value": Mock.Random.integer(0, 100)
                }, {
                    "name": "617",
                    "value": Mock.Random.integer(0, 100)
                }],
                "numberline": {
                    "xname": ["15:04", "07:41", "04:58", "11:27", "00:18", "22:31", "04:18", "05:04", "15:04", "07:41", "04:58", "11:27", "00:18", "22:31", "04:18", "05:04", "15:04", "07:41", "04:58", "11:27", "00:18", "22:31", "04:18", "05:04"],
                    "line1": [{
                        "name": "低",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "低",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "低",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "低",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "低",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "低",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "低",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "低",
                        "value": Mock.Random.integer(0, 100)
                    }],
                    "line2": [{
                        "name": "中",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "中",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "中",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "中",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "中",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "中",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "中",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "中",
                        "value": Mock.Random.integer(0, 100)
                    }],
                    "line3": [{
                        "name": "高",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "高",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "高",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "高",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "高",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "高",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "高",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "高",
                        "value": Mock.Random.integer(0, 100)
                    }]
                },
                "iobar": [{
                    "name": "00:05",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "00:10",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "00:15",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "00:20",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "00:25",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "00:30",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }],
                "enterprise": [{
                    "name": "非公企业1",
                    "value": Mock.Random.integer(0, 100)
                }, {
                    "name": "国有企业2",
                    "value": Mock.Random.integer(0, 100)
                }, {
                    "name": "私人企业1",
                    "value": Mock.Random.integer(0, 100)
                }, {
                    "name": "政府机构1",
                    "value": Mock.Random.integer(0, 100)
                }, {
                    "name": "社区1",
                    "value": Mock.Random.integer(0, 100)
                }],
                "enterline": {
                    "xname": ["2016", "2017", "2018", "2018", "2019", "2020", "2016", "2017", "2018", "2019", "2020"],
                    "line1": [{
                        "name": "非公企业",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "非公企业",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "非公企业",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "非公企业",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "非公企业",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "非公企业",
                        "value": Mock.Random.integer(0, 100)
                    }],
                    "line2": [{
                        "name": "国有企业",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "国有企业",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "国有企业",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "国有企业",
                        "value": Mock.Random.integer(0, 100)
                    }, {
                        "name": "国有企业",
                        "value": Mock.Random.integer(0, 100)
                    }]
                },
                "dataIncrement": {
                    "num": Mock.Random.integer(0, 100),
                    "yearOnYear": "14.15%",
                    "rose": "12.35%",
                    "radio": "32.35%"
                },
                "swallow": [{
                    "name": "00:15",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "00:05",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "00:10",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "00:20",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "00:25",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }, {
                    "name": "00:30",
                    "value": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                }]
            }
        }


    },

    getAIPage: config => {
        return {
            "success": true,
            "message": "",
            "code": 200,
            "result": {
                "statistics": {
                    "person": Mock.Random.integer(100, 999),
                    "search": Mock.Random.integer(100, 999)
                },
                "useratio": {
                    "pageView": Mock.Random.integer(100, 999),
                    "pageViewState": 0,
                    "pageViewRatio": "0.04%",
                    "visitTimes": Mock.Random.integer(100, 999),
                    "visitTimesState": 0,
                    "visitTimesRatio": "0.04%",
                    "diversion": Mock.Random.integer(100, 999),
                    "diversionState": 1,
                    "diversionRatio": "0.04%",
                    "download": Mock.Random.integer(100, 999),
                    "downloadState": 1,
                    "downloadRatio": "0.04%"
                },
                "useratioline": [
                    {
                        "name": "12:09",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "11:26",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "21:10",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "14:59",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "12:39",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "01:47",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "15:28",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "03:44",
                        "value": Mock.Random.integer(0, 100)
                    }
                ],
                "cumulProc": [
                    {
                        "name": "11:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "13:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "14:00",
                        "value": Mock.Random.integer(0, 100)
                    }
                ],
                "industryClass": [
                    {
                        "name": "制造业",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "运输业",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "建筑业",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "轻工业",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "重点行业",
                        "value": Mock.Random.integer(0, 100)
                    }
                ],
                "altermsg": [
                    {
                        "code": "h3c-test",
                        "type": "FDD",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "异常"
                    },
                    {
                        "code": "h3c-test",
                        "type": "AUI",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "正常"
                    },
                    {
                        "code": "h3c-test",
                        "type": "BNC",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "异常"
                    },
                    {
                        "code": "h3c-test",
                        "type": "AUI",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "正常"
                    },
                    {
                        "code": "h3c-test",
                        "type": "AUI",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "异常"
                    },
                    {
                        "code": "h3c-test",
                        "type": "AUI",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "异常"
                    },
                    {
                        "code": "h3c-test",
                        "type": "AUI",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "异常"
                    }, {
                        "code": "h3c-test",
                        "type": "AUI",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "异常"
                    },
                    {
                        "code": "h3c-test",
                        "type": "AUI",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "异常"
                    }, {
                        "code": "h3c-test",
                        "type": "AUI",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "异常"
                    },
                    {
                        "code": "h3c-test",
                        "type": "AUI",
                        "rate": "1000Mbps",
                        "ip": "10.20.4.100",
                        "name": "test-001",
                        "exception": "异常"
                    }
                ],
                "monitoring": {
                    "percentage": Mock.Random.integer(0, 100) + "%",
                    "peak": Mock.Random.integer(0, 100),
                    "valley": Mock.Random.integer(0, 100)
                },
                "wordcloud": [
                    {
                        "name": "用户画像生成"
                    },
                    {
                        "name": "管理混乱"
                    },
                    {
                        "name": "年龄层次出现"
                    },
                    {
                        "name": "社会保障"
                    },
                    {
                        "name": "数据名称"
                    },
                    {
                        "name": "大数据信息分析"
                    },
                    {
                        "name": "大数据信息分析"
                    },
                    {
                        "name": "流动人口众多"
                    }
                ],
                "useportrait": {
                    "total": Mock.Random.integer(0, 100),
                    "totalFlag": 0,
                    "totalRatio": "0.04%",
                    "man": Mock.Random.integer(0, 100),
                    "manFlag": 0,
                    "manRatio": "0.04%",
                    "woman": Mock.Random.integer(0, 100),
                    "womanFlag": 0,
                    "womanRatio": "0.04%",
                    "min": 0,
                    "max": 100,
                    "splitNumber": 10,
                    "value1": Mock.Random.integer(0, 100),
                    "value2": Mock.Random.integer(0, 100)
                },
                "upload": {
                    "percentage": Mock.Random.integer(0, 100) + "%",
                    "wenben": Mock.Random.integer(0, 100),
                    "num": Mock.Random.integer(0, 100),
                    "avgnum": Mock.Random.integer(0, 100)
                },
                "download": {
                    "percentage": Mock.Random.integer(0, 100) + "%",
                    "wenben": Mock.Random.integer(0, 100),
                    "num": Mock.Random.integer(0, 100),
                    "avgnum": Mock.Random.integer(0, 100)
                },
                "innovate": {
                    "percentage": Mock.Random.integer(0, 100) + "%",
                    "wenben": Mock.Random.integer(0, 100),
                    "num": Mock.Random.integer(0, 100),
                    "avgnum": Mock.Random.integer(0, 100)
                },
                "fail": {
                    "percentage": Mock.Random.integer(0, 100) + "%",
                    "wenben": Mock.Random.integer(0, 100),
                    "num": Mock.Random.integer(0, 100),
                    "avgnum": Mock.Random.integer(0, 100)
                },
                "finsh": {
                    "percentage": Mock.Random.integer(0, 100) + "%",
                    "wenben": Mock.Random.integer(0, 100),
                    "num": Mock.Random.integer(0, 100),
                    "avgnum": Mock.Random.integer(0, 100)
                }
            },
            "timestamp": 1728038984879
        }

    },

    getINPage: config => {
        return {
            "success": true,
            "message": "",
            "code": 200,
            "result": {
                "resourcePool": resourcePool(),
                "cpu": {
                    "min": 0,
                    "max": 100,
                    "splitNumber": 10,
                    "value": Mock.Random.integer(0, 100)
                },
                "ram": {
                    "min": 0,
                    "max": 100,
                    "splitNumber": 10,
                    "value": Mock.Random.integer(0, 100)
                },
                "ratio": {
                    "online": Mock.Random.integer(0, 100) + "%",
                    "health": Mock.Random.integer(0, 100) + "%",
                    "connected": Mock.Random.integer(0, 100) + "%"
                },
                "useratio": {
                    "cpuUse": Mock.Random.integer(0, 100) + "%",
                    "cpuUseState": 1,
                    "cpuUseRatio": Mock.Random.integer(0, 100) + "%",
                    "cpuTemp": Mock.Random.integer(0, 100),
                    "cpuTempState": 0,
                    "cpuTempRatio": "18.7%",
                    "cpuLoad": "45%",
                    "cpuLoadState": 0,
                    "cpuLoadRatio": "5.5%",
                    "cpuPower": "41%",
                    "cpuPowerState": 1,
                    "cpuPowerRatio": "8.8%",
                    "ramUse": "45%",
                    "ramUseState": 1,
                    "ramUseRatio": "18.7%",
                    "readSpeed": "28mb/s",
                    "readState": 0,
                    "readRatio": "18.7%",
                    "writeSpeed": "40",
                    "writeState": 0,
                    "writeRatio": "5.3%",
                    "faultUse": "402个",
                    "faultUseState": 0,
                    "faultUseRatio": "8.8%",
                    "task": Mock.Random.integer(0, 500),
                    "taskState": 0,
                    "taskRatio": Mock.Random.integer(0, 100),
                    "taskIncrement": Mock.Random.integer(0, 100),
                    "useratioChart": [
                        {
                            "name": "1:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "10:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "11:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "12:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "13:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "14:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "15:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "16:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "17:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "18:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "19:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "2:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "20:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "21:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "22:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "23:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "24:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "3:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "4:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "5:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "6:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "7:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "8:00",
                            "value": Mock.Random.integer(0, 100)
                        },
                        {
                            "name": "9:00",
                            "value": Mock.Random.integer(0, 100)
                        }
                    ]
                },
                "useratioChart": [
                    {
                        "name": "1:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "10:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "11:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "12:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "13:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "14:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "15:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "16:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "17:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "18:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "19:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "2:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "20:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "21:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "22:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "23:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "24:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "3:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "4:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "5:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "6:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "7:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "8:00",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "9:00",
                        "value": Mock.Random.integer(0, 100)
                    }
                ],
                "cpuTop": [
                    {
                        "name": "H3C-002",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-003",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-004",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-006",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-009",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-005",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-007",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-008",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-010",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-001",
                        "value": Mock.Random.integer(0, 100) + "%"
                    }
                ],
                "ramTop": [
                    {
                        "name": "H3C-002",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-003",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-004",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-006",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-009",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-005",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-007",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-008",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-010",
                        "value": Mock.Random.integer(0, 100) + "%"
                    },
                    {
                        "name": "H3C-001",
                        "value": Mock.Random.integer(0, 100) + "%"
                    }
                ],
                "altermsg": [
                    {
                        "name": "h3c-test7",
                        "ip": "10.20.4.102",
                        "state": "  运行",
                        "platform": "HUA",
                        "type": "物理主机",
                        "indexName": null,
                        "exception": "异常1"
                    },
                    {
                        "name": "h3c-test6",
                        "ip": "10.20.4.100",
                        "state": "运行中",
                        "platform": "H3C",
                        "type": "物理主机",
                        "indexName": null,
                        "exception": "异常"
                    },
                    {
                        "name": "h3c-test4",
                        "ip": "10.20.4.100",
                        "state": "运行中",
                        "platform": "H3C",
                        "type": "物理主机",
                        "indexName": null,
                        "exception": "异常"
                    },
                    {
                        "name": "h3c-test5",
                        "ip": "10.20.4.100",
                        "state": "运行中",
                        "platform": "H3C",
                        "type": "物理主机",
                        "indexName": null,
                        "exception": "异常"
                    },
                    {
                        "name": "h3c-test2",
                        "ip": "10.20.4.100",
                        "state": "运行中",
                        "platform": "H3C",
                        "type": "物理主机",
                        "indexName": null,
                        "exception": "异常"
                    },
                    {
                        "name": "h3c-test3",
                        "ip": "10.20.4.100",
                        "state": "运行中",
                        "platform": "H3C",
                        "type": "物理主机",
                        "indexName": null,
                        "exception": "异常"
                    },
                    {
                        "name": "h3c-test1",
                        "ip": "10.20.4.100",
                        "state": "运行中",
                        "platform": "H3C",
                        "type": "物理主机",
                        "indexName": null,
                        "exception": "异常"
                    }
                ]
            },
            "timestamp": 1728040311177
        }
    },
    getJKPage: config => {
        return {
            "success": true,
            "message": "",
            "code": 200,
            "result": {
                "serverReport": serverReport(),
                "faultReport": [
                    {
                        "name": "地质灾害",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "火灾",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "水灾",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "人祸",
                        "value": Mock.Random.integer(0, 100)
                    }
                ],
                "faultReportLine": [
                    {
                        "name": "1月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "10月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "11月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "12月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "2月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "3月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "4月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "5月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "6月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "7月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "8月",
                        "value": Mock.Random.integer(0, 100)
                    },
                    {
                        "name": "9月",
                        "value": Mock.Random.integer(0, 100)
                    }
                ],
                "altermsg": JKaltermsg(),
                "statistics": {
                    "serversNum": Mock.Random.integer(0, 300),
                    "running": Mock.Random.integer(0, 300),
                    "pending": Mock.Random.integer(0, 300)
                },
                "trafficVO": {
                    "maxSending": Mock.Random.integer(0, 300),
                    "minSending": Mock.Random.integer(0, 300),
                    "maxReceiving": Mock.Random.integer(0, 300),
                    "minReceiving": Mock.Random.integer(0, 300)
                },
                "equipmentReport": JKequipmentReport(),
                "interfaceReport": JKinterfaceReport()
            },
            "timestamp": 1728042610268
        }
    },

    getNYPage: config => {
        return {
            "success": true,
            "message": "",
            "code": 200,
            "result": {
                "equipmentInfo": {
                    "elecMeterNum": Mock.Random.integer(0, 100),
                    "waterMeterNum": Mock.Random.integer(0, 100),
                    "gasMeterNum": Mock.Random.integer(0, 100)
                },
                "elecStatis": [
                    {
                        "xname": "1月",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "2月",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "3月",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "4月",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "5月",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 300)
                    }
                ],
                "elecRank": [
                    {
                        "name": "算力中心2",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "name": "算力中心1",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "name": "算力中心3",
                        "value": Mock.Random.integer(0, 300)
                    }
                ],
                "waterStatis": [
                    {
                        "xname": "1月",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "5月",
                        "line": "line2",
                        "name": "高",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "2月",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "3月",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "4月",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "5月",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "1月",
                        "line": "line2",
                        "name": "高",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "2月",
                        "line": "line2",
                        "name": "高",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "3月",
                        "line": "line2",
                        "name": "高",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "xname": "4月",
                        "line": "line2",
                        "name": "高",
                        "value": Mock.Random.integer(0, 300)
                    }
                ],
                "waterRank": [
                    {
                        "name": "算力中心21",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "name": "算力中心11",
                        "value": Mock.Random.integer(0, 300)
                    },
                    {
                        "name": "算力中心31",
                        "value": Mock.Random.integer(0, 300)
                    }
                ],
                "statistics": {
                    "elecYesterday": Mock.Random.integer(0, 3000) + "kW",
                    "elecMonth": Mock.Random.integer(0, 3000) + "kW",
                    "elecYear": Mock.Random.integer(0, 3000) + "kW",
                    "waterYesterday": Mock.Random.integer(0, 300) + "m³",
                    "waterMonth": Mock.Random.integer(0, 3000) + "m³",
                    "waterYear": Mock.Random.integer(0, 3000) + "m³"
                },
                "alterStatis": {
                    "majorRisk": Mock.Random.integer(0, 100),
                    "higherRisk": Mock.Random.integer(0, 100),
                    "generalRisk": Mock.Random.integer(0, 100),
                    "standardRisk": Mock.Random.integer(0, 100)
                },
                "altermsg": NYaltermsg()

            },
            "timestamp": 1728045327091
        }
    },

    getAFPage: config => {
        return {
            "success": true,
            "message": "",
            "code": 200,
            "result": {
                "tempMonitor": {
                    "name1": "北1#",
                    "value1": Mock.Random.integer(0, 100)+"℃",
                    "name2": "北2#",
                    "value2": Mock.Random.integer(0, 100)+"℃",
                    "name3": "北3#",
                    "value3": Mock.Random.integer(0, 100)+"℃",
                    "name4": "北4#",
                    "value4": Mock.Random.integer(0, 100)+"℃",
                    "name5": "北5#",
                    "value5": Mock.Random.integer(0, 100)+"℃",
                    "name6": "南1#",
                    "value6": Mock.Random.integer(0, 100)+"℃",
                    "name7": "南2#",
                    "value7": Mock.Random.integer(0, 100)+"℃",
                    "name8": "南3#",
                    "value8": Mock.Random.integer(0, 100)+"℃",
                    "name9": "南4#",
                    "value9": Mock.Random.integer(0, 100)+"℃",
                    "name10": "南5#",
                    "value10": Mock.Random.integer(0, 100)+"℃"
                },
                "handleThings": [
                    {
                        "name": "完成数",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "name": "未完成数",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "name": "进行中",
                        "value": Mock.Random.integer(0, 200)
                    }
                ],
                "guardArea": [
                    {
                        "xname": "14:00",
                        "name": "区域一",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "16:00",
                        "name": "区域一",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "18:00",
                        "name": "区域一",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "20:00",
                        "name": "区域一",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "22:00",
                        "name": "区域一",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "24:00",
                        "name": "区域一",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "14:00",
                        "name": "区域二",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "16:00",
                        "name": "区域二",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "18:00",
                        "name": "区域二",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "20:00",
                        "name": "区域二",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "22:00",
                        "name": "区域二",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "24:00",
                        "name": "区域二",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "14:00",
                        "name": "区域三",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "16:00",
                        "name": "区域三",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "18:00",
                        "name": "区域三",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "20:00",
                        "name": "区域三",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "22:00",
                        "name": "区域三",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "24:00",
                        "name": "区域三",
                        "value": Mock.Random.integer(0, 200)
                    }
                ],
                "riskMonitor": [
                    {
                        "name": "烟感",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "name": "压力",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "name": "气体泄漏",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "name": "漏水",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "name": "温度",
                        "value": Mock.Random.integer(0, 200)
                    }
                ],
                "entranceData": {
                    "name1": "数据1",
                    "value1": Mock.Random.integer(0, 2000),
                    "name2": "数据2",
                    "value2": Mock.Random.integer(0, 2000),
                    "name3": "数据3",
                    "value3": Mock.Random.integer(0, 2000),
                    "name4": "数据4",
                    "value4": Mock.Random.integer(0, 2000),
                    "name5": "数据5",
                    "value5": Mock.Random.integer(0, 2000),
                    "name6": "数据6",
                    "value6": Mock.Random.integer(0, 2000)
                },
                "entranceGuard": {
                    "peopleDefence": Mock.Random.integer(0, 200),
                    "thingDefence": Mock.Random.integer(0, 200),
                    "techDefence": Mock.Random.integer(0, 200)
                },
                "fireMonitor": [
                    {
                        "xname": "2:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "4:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "6:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "8:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "10:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "12:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "14:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "16:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "18:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "20:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "22:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "24:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "2:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "4:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "6:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "8:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "10:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "12:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "14:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "16:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "18:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "20:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "22:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "24:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "2:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "4:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "6:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "8:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "10:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "12:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "14:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "16:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "18:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "20:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "22:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "24:00",
                        "line": "line3",
                        "name": "高",
                        "value": Mock.Random.integer(0, 200)
                    }
                ],
                "personStatic": {
                    "total": Mock.Random.integer(1, 60),
                    "employee": Mock.Random.integer(1, 30),
                    "security": Mock.Random.integer(1, 20),
                    "cleaner": Mock.Random.integer(1, 10)
                },
                "personMonitor": {
                    "goout": Mock.Random.integer(1, 500),
                    "visit": Mock.Random.integer(0, 10),
                    "percentage": Mock.Random.integer(0, 100)+"%"
                },
                "elevatorMonitor": {
                    "running": Mock.Random.integer(1, 5),
                    "fault": Mock.Random.integer(0, 10),
                    "percentage": Mock.Random.integer(0, 100)+"%"
                },
                "pressureMonitor": [
                    {
                        "xname": "8:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "10:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "12:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "14:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "16:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "18:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "20:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "22:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "24:00",
                        "line": "line1",
                        "name": "低",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "8:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "10:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "12:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "14:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "16:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "16:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "18:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "20:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "22:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    },
                    {
                        "xname": "24:00",
                        "line": "line2",
                        "name": "中",
                        "value": Mock.Random.integer(0, 200)
                    }
                ],
                "historyAlter": {
                    "power": Mock.Random.integer(0, 200),
                    "energy": Mock.Random.integer(0, 200),
                    "security": Mock.Random.integer(0, 200),
                    "fire": Mock.Random.integer(0, 200),
                    "electro": "正常",
                    "room": "正常"
                },
                "altermsg": AFaltermsg()
            },
            "timestamp": 1728045936097
        }
    }










}